package ch01;

/**
 * @author zhu
 * @date 2024-03-29
 */
public class MainTest01 {
    public static void main(String[] args) throws Exception {
        People<Pet> p1 = new People<>();
        Pet cat = new Pet();
        p1.setName("张三");
        cat.setName("小猫");
        p1.setData(cat);
        p1.GuangJie();
    }
}
